* {
    margin    : 0;
    padding   : 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

input {
    outline: none;
    border : none;
}

body {
    background     : url('../images/bg.jpg') no-repeat;
    background-size: cover;

}

/* 播放器 */
.play-wrap {
    width        : 800px;
    margin       : 50px auto;
    border-radius: 8px;
    overflow     : hidden;
}

/* 1.搜索区域 */
.search-bar {
    position        : relative;
    height          : 50px;
    background-color: rgb(255, 196, 112);
}

.search-bar img {
    height     : 50px;
    margin-left: 40px;
}

.search-bar input {
    float        : right;
    margin-top   : 8px;
    margin-right : 20px;
    width        : 200px;
    height       : 30px;
    border-radius: 15px;
    padding-left : 10px;
}

.search-bar a {
    position       : absolute;
    top            : 14px;
    right          : 27px;
    width          : 20px;
    height         : 20px;
    background     : url('../images/zoom.png') no-repeat;
    background-size: 100% 100%;
}


/* 2.交互区域 */
.center-con {
    height          : 400px;
    background-color: rgba(255, 255, 255, .3);
}

/* a.左侧歌曲目录 */
.song-wrapper {
    float : left;
    height: 100%;
    width : 25%;
}

.song-wrapper::after {
    float     : right;
    content   : '';
    height    : 100%;
    width     : 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .1), rgba(0, 0, 0, .3), rgba(255, 255, 255, .1));
}

.song-list {
    float             : left;
    width             : 195px;
    height            : 380px;
    padding           : 5px;
    overflow          : auto;
    /* 隐藏滚动条需要针对不同浏览器进行兼容性设置 */
    -ms-overflow-style: none;
    /* IE 10+ */
    scrollbar-width   : none;
    /* Firefox */
}

.song-list::-webkit-scrollbar {
    display: none;
    /* Chrome Safari */
}

.song-list li {
    width      : 100%;
    height     : 35px;
    padding    : 5px;
    line-height: 25px;
}

.song-list li:nth-child(odd) {
    background-color: rgba(255, 255, 255, .2);
}

.song-list a {
    display           : inline-block;
    width             : 20px;
    height            : 20px;
    background        : url('../images/play.png') no-repeat;
    background-size   : 100% 100%;
    /* vertical-align : center; */
    margin-right      : 5px;
    margin-bottom     : 3px;
}

.song-list b {
    display      : inline-block;
    width        : 100px;
    font-weight  : 500;
    white-space  : nowrap;
    overflow     : hidden;
    text-overflow: ellipsis;
}

.song-list span {
    float       : right;
    width       : 19px;
    height      : 14px;
    margin-top  : 5px;
    margin-right: 5px;
    background  : url('../images/table.png') no-repeat -2px -49px;
}


/* b.中间图片旋转 */
.player-con {
    position: relative;
    float   : left;
    height  : 100%;
    width   : 50%;
    overflow: hidden;
}

.player-con::after {
    float     : right;
    content   : '';
    height    : 100%;
    width     : 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .1), rgba(0, 0, 0, .3), rgba(255, 255, 255, .1));
}

.player-con img:nth-child(1) {
    position: absolute;
    top     : 16%;
    left    : 20%;
    width   : 240px;
}

.player-con img:nth-child(2) {
    position        : absolute;
    top             : -8px;
    left            : 200px;
    transform-origin: 12px 10px;
    transform       : rotate(-40deg);
}

.player-con img:nth-child(3) {
    position        : absolute;
    top             : 29.3%;
    left            : 33%;
    transform-origin: center;
    width           : 136px;
    height          : 136px;
    border-radius   : 68px;
}

/* c.右侧评论查阅 */
.comment-wrapper {
    float : left;
    height: 100%;
    width : 25%;
}

.title {
    padding: 10px;
}

/* 对.comment-list设置隐藏滚动条 */
.comment-list {
    height: 350px;
    overflow: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.comment-list::-webkit-scrollbar {
    display: none; /* Chrome Safari */
  }

.comment-list dl {
    margin: 20px 5px;
}

.comment-list dl dt {
    float: left;
}

.comment-list img {
    width: 40px;
    height: 40px;
    border-radius: 20px;
}

.comment-list .name {
    padding-left: 50px;
    font-weight : 600;
}

.comment-list .detail {
    width       : 180px;
    word-break  : break-all;
    padding-left: 50px;
    padding-top : 5px;
    color       : rgb(79, 84, 86);
    font-size: 14px;
}

/* 3.底部进度条区域 */
.audio-con {
    background-color: rgb(241, 243, 244);
    width           : 100%;
    height          : 40px;
}

.myaudio {
    width : 100%;
    height: 100%;
}

/* 4.mv遮罩层 */
/* .video {
    display: none;
} */

.video video {
    position : absolute;
    top      : 50%;
    left     : 50%;
    transform: translate(-50%, -50%);
    width    : 700px;

}

.mask {
    position  : absolute;
    top       : 0;
    left      : 0;
    width     : 100%;
    height    : 100%;
    background: rgba(0, 0, 0, .8) no-repeat center;
}


@keyframes roll {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes move {
    0% {
        transform: rotate(-40deg);
    }

    100% {
        transform: rotate(5deg);
    }
}

@keyframes leave {
    0% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(-40deg);
    }
}

.roll1 {
    animation: roll infinite 6s linear forwards;
}

.roll2 {
    animation: roll infinite 8s linear forwards;
}

.move {
    animation: move 0.5s forwards;
}

.leave {
    animation: leave 0.5s forwards;
}